﻿using AutoMapper;
using MaterialManagement.API.Application.Command.ERP;
using MaterialManagement.API.Application.Command.MesWorkOrder;
using MaterialManagement.Domain.ERP;
using MaterialManagement.Domain.MesWorkOrder;

namespace MaterialManagement.API
{
    public class MyAutoMapper : Profile
    {
        public MyAutoMapper()
        {
            CreateMap<CreateOutboundRecordCommand, OutboundRecordModel>().ReverseMap();
            CreateMap<CreateProcessInspectionCommand, ProcessInspectionModel>().ReverseMap();

            CreateMap<CreateBOMCommand,BOMInformationModel>().ReverseMap();
        }
    }
}
